//
//  xiangqing.m
//  项目一
//
//  Created by 芮京 on 2018/10/9.
//  Copyright © 2018 芮京. All rights reserved.
//

#import "xiangqing.h"
#import <WebKit/WebKit.h>
@interface xiangqing ()

@end

@implementation xiangqing

- (void)viewDidLoad {
    [super viewDidLoad];
    self.moviePlayer.contentURL=[NSURL URLWithString:self.mp4URL];
    [self.moviePlayer play];
    
    
//    self.navigationController.navigationBar.translucent = NO;
//    //网页视图 IOS12 不要 UIWebView
//    WKWebView *webView = [[WKWebView alloc]initWithFrame:CGRectMake(0, -64, WIDTH, HEIGHT+50)];
//    //将urlSting  转化为 URL 类型
//    NSURL *URLl = [NSURL URLWithString:self.mp4URL];
//    //创建请求对象
//    NSURLRequest *request = [NSURLRequest requestWithURL:URL l];
//    //网页视图加载网页
//    [webView loadRequest:request];
//
//    [self.view addSubview:webView];
}


@end
